package biz

import (
	"rosesbff/internal/data/redis"
)

type ReviewRepo interface{}

type Review struct {
	*Basic
	review ReviewRepo
	redis  *redis.Redis
}

func NewReview(
	basic *Basic,
	review ReviewRepo,
	redis *redis.Redis,
) (*Review, error) {
	result := &Review{
		redis:  redis,
		review: review,
	}
	result.Basic = basic
	return result, nil
}
